package com.lt.crm.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lt.crm.pojo.Product;
import com.lt.crm.service.ProductService;
import com.lt.crm.mapper.ProductMapper;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【product】的数据库操作Service实现
* @createDate 2024-06-18 16:58:48
*/
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product>
    implements ProductService{

    @Resource
    ProductMapper productMapper;
    @Override
    public Page<Product> findAllByPage(Page<Product> page, String prodName, String prodType, String prodBatch) {
        return productMapper.findAllByPage(page,prodName,prodType,prodBatch);
    }
}




